package de.uni.muenster.idw2.location.wifi;

import java.util.List;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.net.wifi.ScanResult;
import android.util.Log;

public class WifiScanReceiver extends BroadcastReceiver {
  private static final String TAG = "WiFiScanReceiver";
  Comparison comp;
  private List<ScanResult> scanResults;
  
  public WifiScanReceiver(Comparison comp) {
    
	super();
	//Log.v("show", "wifireceiver starten");
    this.comp = comp;
  }

  
  
  @Override
  public void onReceive(Context c, Intent intent) {
	  scanResults = comp.wifi.getScanResults();

    	
   }



public List<ScanResult> getScanResults() {
	return scanResults;
}



public void setScanResults(List<ScanResult> scanResults) {
	this.scanResults = scanResults;
}

}
